// Payment.java (接口)
public interface Payment {
    boolean pay(double amount);
    String getPaymentMethod();
}


